import React, { PropTypes, PureComponent } from 'react';
import { Divider,Button,Card,Row,Col } from 'antd';
import {
  Tabtitle,
} from '../../../../components';

export default class BrinDetail extends PureComponent {
    editDetail = () =>{
      this.props.showMain();
    }

  render() {
    return (
        <div> 
           <Row type="flex">
             <Col span={22}><Tabtitle value={'基金分析报告'}/></Col>
             <Col span={2}>
            <Button style={{marginBottom:5}}  type="primary" onClick={() => this.editDetail()}>返回</Button>
            </Col>
          </Row>
        <iframe src={this.props.url} width="100%" height="1200px">
                </iframe> 
               
          {/* <Card
            bordered={true}
            >
                <iframe src={this.props.url} width="100%" height="1000px" style={{ border: 'none' }}>
                </iframe>

          </Card> */}
        </div>
    );
  }
}